<?php

/**
 * Created by Reliese Model.
 */

namespace App\Models;

use Carbon\Carbon;

/**
 * Class Menu
 * 
 * @property int $id
 * @property int|null $pid
 * @property string|null $name
 * @property string|null $url
 * @property string|null $icon
 * @property int $sort
 * @property Carbon|null $create_at
 * @property Carbon|null $update_at
 * @property Carbon|null $delete_at
 *
 * @package App\Models
 */
class Menu extends BaseModels
{
	protected $table = 'zh_menu';
	public $timestamps = false;

	protected $casts = [
		'pid' => 'int'
	];

	protected $dates = [
		'create_at',
		'update_at',
		'delete_at'
	];

	protected $fillable = [
        'name',
        'avatar',
        'nick_name',
        'password',
        'gid',
        'phone',
        'last_login_time',
        'last_login_ip',
        'sort',
        'create_at',
        'update_at',
        'delete_at'
	];
}
